<div fwa-layout-container data-main="true" class="full-width full-height">
	<!--自适应 -->
	<div fwa-layout-box="north" style="height: 45px;">
		<div class="col-xs-12" style="margin-top: 10px;"> 
			<ul class="nav nav-tabs background-white" >
					<li ng-class="{'active':currentTab==0}">
						<a >医疗机构</a>
					</li>
				</ul>
		</div>
	</div>
	<div fwa-layout-box="center">
		<div class="col-xs-12 full-height">
			<div class="full-height background-white border-bottom full-overflow-y" ui-view>
			
			</div>
		</div>
	</div>
	<div fwa-layout-box="south" class=" page-height">
		<div class="col-xs-11">
			<button type="button" class="btn btn-blue btn-sm" ng-click="addGrading();" >
		  		新增
		  	</button>
		  	<button type="button" class="btn btn-blue btn-sm" ng-click="deleteGrading();"   >
		  		删除
		  	</button>
		</div>
        <div class="col-xs-1">
            <button type="button" class="btn btn-blue btn-sm" ng-click="goback();" >
              返回
            </button>
        </div>
	</div>
</div>

<fwa-loading data-show="gradingService.loading" >
		加载中...
 </fwa-loading>

<script type="text/ng-template" id="insurance_modal.html">
<div class="modal-header">
	<button type="button" class="close" ng-click="onOk();">&times;</button>
	<h4 class="modal-title" id="myModalLabel">医保服务人员信息</h4>
</div>
<div class="modal-body">
	<div class="row" style="margin-top: 20px;">
		<div class="col-xs-1"></div>
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 姓名:</label>
			<div class="col-xs-8">
				<input type="text" class="form-control" ng-model="insuranceInfo.name">
			</div>
		</div>	
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 机构名称:</label>
			<div class="col-xs-8">
			<select ui-select2 class="full-width"
			   ng-model="insuranceInfo.medicalOrg" >
				<option value=""></option>
				<option ng-repeat="data in medicalOrgInfoList"
							value="{{data.medicalOrgCode}}">{{data.medicalOrgName}}</option>
			</select>
			</div>		   
		</div>
		<div class="col-xs-1"></div>   
	</div>
	<div class="row" style="margin-top: 10px;">
		<div class="col-xs-1"></div>
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right">机构编号:</label>
			<div class="col-xs-8">
				<input type="text" class="form-control" ng-model="insuranceInfo.orgCode">
			</div>
		</div>	
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 机构等级:</label>
			<div class="col-xs-8">
			<select ui-select2 class="full-width"
			   ng-model="insuranceInfo.orgLevel" >
				<option value=""></option>
				<option ng-repeat="data in communityService.medicalOrgLevelDatas"
										value="{{data.code}}">{{data.name}}</option>
			</select>
			</div>		   
		</div>
		<div class="col-xs-1"></div>  
	</div>
	<div class="row" style="margin-top: 10px;">
		<div class="col-xs-1"></div>
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 机构分类:</label>
			<div class="col-xs-8">
				<select ui-select2 class="full-width"
			 	  ng-model="insuranceInfo.orgType" >
					<option value=""></option>
					<option ng-repeat="data in communityService.medicalOrgTypeDatas"
										value="{{data.code}}">{{data.name}}</option>
				</select>
			</div>
		</div>	
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 人员分类:</label>
			<div class="col-xs-8">
				<select ui-select2 class="full-width"
			  	 ng-model="insuranceInfo.hosPersonType">
					<option value=""></option>
					<option ng-repeat="data in communityService.hosPersonTypeDatas"
											value="{{data.code}}">{{data.name}}</option>
				</select>
			</div>		   
		</div>
		<div class="col-xs-1"></div>  
	</div>
	<div class="row" style="margin-top: 10px;">
		<div class="col-xs-1"></div>
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 资格级别:</label>
			<div class="col-xs-8">
				<select ui-select2 class="full-width"
			  	 ng-model="insuranceInfo.qualificationLevel" >
					<option value=""></option>
					<option ng-repeat="data in communityService.qualificationLevelDatas"
											value="{{data.code}}">{{data.name}}</option>
				</select>
			</div>
		</div>	
		<div class="form-group col-xs-5">
			<label class="control-label col-xs-4 text-right"><span class="red">*</span> 证件号:</label>
			<div class="col-xs-8">
				<input type="text" class="form-control" ng-model="insuranceInfo.pcNo">
			</div>		   
		</div>
		<div class="col-xs-1"></div>   
	</div>
</div>
<div class="modal-footer">
	<div class="col-xs text-center">
		<button type="button" class="btn btn-primary btn-sm" ng-click="confirm();">保存</button>
		<button type="button" class="btn btn-default btn-sm" ng-click="onOk();" >取消</button>
	</div>
</div>
</script>
